package org.jeecg.config.paramHandler.paramHandler.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.time.LocalDate;

@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface AutoDateParam {
    Class<?> value() default LocalDate.class;
    String format() default "yyyy-M-d";
    boolean nowIfNull() default true;
    boolean required() default false;
}